<script setup>

</script>

<template>
  <el-row class="tac">
    <el-col :span="24">

      <el-menu
          router
          default-active="/student"
          class="el-menu-vertical-demo"
      >
        <el-sub-menu index="1">
          <template #title>
            <el-icon><location /></el-icon>
            <span>学生管理</span>
          </template>
            <el-menu-item index="/student">
              <el-icon><Menu/></el-icon>
              <span>学生列表</span>
            </el-menu-item>
            <el-menu-item index="/test">
              <el-icon><Loading /></el-icon>
              <span>测试</span>

            </el-menu-item>
        </el-sub-menu>
        <el-sub-menu index="1">
          <template #title>
            <el-icon><Setting /></el-icon>
            <span>系统管理</span>
          </template>
            <el-menu-item index="/">学生列表</el-menu-item>
            <el-menu-item index="1-2">测试</el-menu-item>
        </el-sub-menu>
      </el-menu>
    </el-col>
  </el-row>

</template>

<script>
  import {Location,Setting,Menu,Loading} from '@element-plus/icons-vue'
  export default {
    name:"AsideView",
    components:{
      Location,
      Setting,
      Menu,
      Loading
    }
  }
</script>

<style scoped lang="scss">

</style>